﻿<title>@ViewData["Title"] </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/Teamsoo/Teamsoo/css/global.css" rel="stylesheet" type="text/css" />
<link href="/Teamsoo/Teamsoo/css/style.css" rel="stylesheet" type="text/css" />
<link href="/Teamsoo/Teamsoo/css/public.css" type="text/css" rel="stylesheet" />
<link href="/Teamsoo/Teamsoo/css/index.css" type="text/css" rel="stylesheet" />
<script src="/Teamsoo/Teamsoo/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $(window).scroll(function () {
            if ($(document).scrollTop() == 0) {
                $('#show').addClass('noimages');
            }
            else {
                $('#show').removeClass('noimages');
            }
        });
        //首先将#back-to-top隐藏
        $("#back-to-top").hide();
        //当滚动条的位置处于距顶部100像素以下时，跳转链接出现，否则消失
        $(window).scroll(function () {
            if ($(window).scrollTop() > 100) {
                $("#back-to-top").fadeIn(200);
            }
            else {
                $("#back-to-top").fadeOut(200);
            }
        });
        //当点击跳转链接后，回到页面顶部位置
        $("#back-to-top").click(function () {
            $('body,html').animate({ scrollTop: 0 }, 500);
            return false;
        });
    });
</script>
